arm64: correct secondary CPU bringup
authorIan Campbell <ian.campbell@citrix.com>
Wed, 17 Apr 2013 12:52:33 +0000 (13:52 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 18 Apr 2013 13:58:34 +0000 (14:58 +0100)
The current cpuid is held in x22 not x12.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
xen/arch/arm/arm64/head.S

index bbde419d5e5638d9a9b3f2a39b24efce85c8ed01..c18ef2b4d4ae19c1f70778d8c5ad03121038a5de 100644 (file)
@@ -307,7 +307,7 @@ paging:
         dsb   sy
         ldr   x0, =smp_up_cpu
         ldr   x1, [x0]               /* Which CPU is being booted? */
-        cmp   x1, x12                /* Is it us? */
+        cmp   x1, x22                /* Is it us? */
         b.ne  1b
 
 launch: